home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 3 / CD ACTUAL 3.iso / linux / docs / hardware / ibm-valu < prev    next >
Encoding:
Text File  |  1995-09-10  |  2.8 KB  |  100 lines

  1. Article 30586 of comp.os.linux:
  2. Path: samba!concert!gatech!prism!gg10
  3. From: gg10@prism.gatech.EDU (Gregory Lyle Galloway)
  4. Newsgroups: comp.os.linux
  5. Subject: Here's how to install SLS on a PS/ValuePoint
  6. Message-ID: <89026@hydra.gatech.EDU>
  7. Date: 12 Mar 93 04:41:51 GMT
  8. Organization: Georgia Institute of Technology
  9. Lines: 87
  10.  
  11. Many people have been wanting to know how to install Linux on an IBM
  12. PS/ValuePoint.  Several people have posted the fixes that need to be
  13. made to the kernel, but these all require that you use a boot/rootdisk
  14. combination rather than installing from Peter's wonderful SLS distribution.
  15.  
  16. The following instructions describe in detail how to create your own
  17. a1 disk so that you can install SLS on a PS/VP.  It still requires that
  18. you have access to a machine already running Linux so that you can construct
  19. a special kernel hardcoded for your drive type.  Hopefully many of you
  20. can find a friend nearby who can help out.
  21.  
  22. Maybe someone could post these instructions and their patched kernels for
  23. different drive types to tsx-11.
  24.  
  25. There should probably be something in the FAQ about this as well.
  26.  
  27. 1) Modify the file /usr/src/linux/include/linux/config.h
  28.  
  29. Define HD_TYPE with the parameters of your drive.  The file config.h has
  30. instructions on how to set HD_TYPE.  Many PS/VP's use a Maxtor 7213 212MB
  31. drive, so the changes would look like:
  32.  
  33. #undef HD_TYPE
  34.  
  35. #ifdef MAXTOR_7213
  36. #define HD_TYPE { 16,38,683,0,683,8 }
  37. #endif
  38.  
  39. Note: If you have two floppy drives there are some other patches that you
  40. need to make but I don't know what they are.  My friend only had one floppy.
  41.  
  42. 2) Modify the file /usr/src/linux/Makefile
  43.  
  44. Set ROOT_DEV and RAMDISK as shown below:
  45.  
  46. #define ROOT_DEV FLOPPY
  47. #define RAMDISK 657
  48.  
  49. and add the following line after the definition of CFLAGS:
  50.  
  51. CFLAGS := $(CFLAGS) -DMAXTOR_7213
  52.  
  53. 3) cd to the /usr/src/linux directory
  54.    type "make config" and answer the questions however you like
  55.    type "make dep; make clean; make zImage"
  56.  
  57. 4) Pad the file zImage out to 512k bytes using the command:
  58.  
  59. cat zImage /dev/zero | dd bs=1024 count=512 of=zImage512k
  60.  
  61. 5) Insert the original a1 disk into the drive and type:
  62.  
  63. dd bs=1024 skip=512 if=/dev/fd0 of=a1-512k
  64.  
  65. 6) Insert a new formatted floppy into the drive and type:
  66.  
  67. cat zImage512k a1-512k | dd of=/dev/fd0
  68.  
  69. This is your new a1 bootdisk.
  70.  
  71. 7) Now remove the ramdisk from the original kernel you built:
  72.  
  73. rdev -r zImage 0
  74.  
  75. 8) Tar and zip this file:
  76.  
  77. tar cf - zImage | gzip >Image.tpz
  78.  
  79. 9) Insert the a2 disk into the drive and mount it:
  80.  
  81. mount /dev/fd0 /mnt
  82.  
  83. 10) Copy the new kernel onto a2:
  84.  
  85. rm /mnt/Image.tpz
  86. cp Image.tpz /mnt
  87. umount /dev/fd0
  88.  
  89. 11) Now you should be ready to install.
  90.  
  91. Good luck,
  92.  
  93. Greg Galloway
  94. gregg@discovery.gatech.edu
  95.  
  96. Disclaimer:  I do not have a PS/VP.  I have a Gateway which I used to help
  97. out a friend.  I have not tested this a whole lot.
  98.  
  99.  
  100.